\(\int \frac {(a+b \log (c \sqrt {x}))^p}{x^3} \, dx\) [189]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [F]
   Fricas [F]
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 18, antiderivative size = 75 \[ \int \frac {\left (a+b \log \left (c \sqrt {x}\right )\right )^p}{x^3} \, dx=-2^{-1-2 p} c^4 e^{\frac {4 a}{b}} \Gamma \left (1+p,\frac {4 \left (a+b \log \left (c \sqrt {x}\right )\right )}{b}\right ) \left (a+b \log \left (c \sqrt {x}\right )\right )^p \left (\frac {a+b \log \left (c \sqrt {x}\right )}{b}\right )^{-p} \]

[Out]

-2^(-1-2*p)*c^4*exp(4*a/b)*GAMMA(p+1,4*(a+b*ln(c*x^(1/2)))/b)*(a+b*ln(c*x^(1/2)))^p/(((a+b*ln(c*x^(1/2)))/b)^p
)

Rubi [A] (verified)

Time = 0.04 (sec) , antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {2347, 2212} \[ \int \frac {\left (a+b \log \left (c \sqrt {x}\right )\right )^p}{x^3} \, dx=c^4 \left (-2^{-2 p-1}\right ) e^{\frac {4 a}{b}} \left (a+b \log \left (c \sqrt {x}\right )\right )^p \left (\frac {a+b \log \left (c \sqrt {x}\right )}{b}\right )^{-p} \Gamma \left (p+1,\frac {4 \left (a+b \log \left (c \sqrt {x}\right )\right )}{b}\right ) \]

[In]

Int[(a + b*Log[c*Sqrt[x]])^p/x^3,x]

[Out]

-((2^(-1 - 2*p)*c^4*E^((4*a)/b)*Gamma[1 + p, (4*(a + b*Log[c*Sqrt[x]]))/b]*(a + b*Log[c*Sqrt[x]])^p)/((a + b*L
og[c*Sqrt[x]])/b)^p)

Rule 2212

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> Simp[(-F^(g*(e - c*(f/d))))*((c
+ d*x)^FracPart[m]/(d*((-f)*g*(Log[F]/d))^(IntPart[m] + 1)*((-f)*g*Log[F]*((c + d*x)/d))^FracPart[m]))*Gamma[m
 + 1, ((-f)*g*(Log[F]/d))*(c + d*x)], x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2347

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Dist[(d*x)^(m + 1)/(d*n*(c*x^n
)^((m + 1)/n)), Subst[Int[E^(((m + 1)/n)*x)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, d, m, n, p}
, x]

Rubi steps \begin{align*} \text {integral}& = \left (2 c^4\right ) \text {Subst}\left (\int e^{-4 x} (a+b x)^p \, dx,x,\log \left (c \sqrt {x}\right )\right ) \\ & = -2^{-1-2 p} c^4 e^{\frac {4 a}{b}} \Gamma \left (1+p,\frac {4 \left (a+b \log \left (c \sqrt {x}\right )\right )}{b}\right ) \left (a+b \log \left (c \sqrt {x}\right )\right )^p \left (\frac {a+b \log \left (c \sqrt {x}\right )}{b}\right )^{-p} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.05 (sec) , antiderivative size = 75, normalized size of antiderivative = 1.00 \[ \int \frac {\left (a+b \log \left (c \sqrt {x}\right )\right )^p}{x^3} \, dx=-2^{-1-2 p} c^4 e^{\frac {4 a}{b}} \Gamma \left (1+p,\frac {4 \left (a+b \log \left (c \sqrt {x}\right )\right )}{b}\right ) \left (a+b \log \left (c \sqrt {x}\right )\right )^p \left (\frac {a+b \log \left (c \sqrt {x}\right )}{b}\right )^{-p} \]

[In]

Integrate[(a + b*Log[c*Sqrt[x]])^p/x^3,x]

[Out]

-((2^(-1 - 2*p)*c^4*E^((4*a)/b)*Gamma[1 + p, (4*(a + b*Log[c*Sqrt[x]]))/b]*(a + b*Log[c*Sqrt[x]])^p)/((a + b*L
og[c*Sqrt[x]])/b)^p)

Maple [F]

\[\int \frac {\left (a +b \ln \left (c \sqrt {x}\right )\right )^{p}}{x^{3}}d x\]

[In]

int((a+b*ln(c*x^(1/2)))^p/x^3,x)

[Out]

int((a+b*ln(c*x^(1/2)))^p/x^3,x)

Fricas [F]

\[ \int \frac {\left (a+b \log \left (c \sqrt {x}\right )\right )^p}{x^3} \, dx=\int { \frac {{\left (b \log \left (c \sqrt {x}\right ) + a\right )}^{p}}{x^{3}} \,d x } \]

[In]

integrate((a+b*log(c*x^(1/2)))^p/x^3,x, algorithm="fricas")

[Out]

integral((b*log(c*sqrt(x)) + a)^p/x^3, x)

Sympy [F]

\[ \int \frac {\left (a+b \log \left (c \sqrt {x}\right )\right )^p}{x^3} \, dx=\int \frac {\left (a + b \log {\left (c \sqrt {x} \right )}\right )^{p}}{x^{3}}\, dx \]

[In]

integrate((a+b*ln(c*x**(1/2)))**p/x**3,x)

[Out]

Integral((a + b*log(c*sqrt(x)))**p/x**3, x)

Maxima [A] (verification not implemented)

none

Time = 0.06 (sec) , antiderivative size = 48, normalized size of antiderivative = 0.64 \[ \int \frac {\left (a+b \log \left (c \sqrt {x}\right )\right )^p}{x^3} \, dx=-\frac {2 \, {\left (b \log \left (c \sqrt {x}\right ) + a\right )}^{p + 1} c^{4} e^{\left (\frac {4 \, a}{b}\right )} E_{-p}\left (\frac {4 \, {\left (b \log \left (c \sqrt {x}\right ) + a\right )}}{b}\right )}{b} \]

[In]

integrate((a+b*log(c*x^(1/2)))^p/x^3,x, algorithm="maxima")

[Out]

-2*(b*log(c*sqrt(x)) + a)^(p + 1)*c^4*e^(4*a/b)*exp_integral_e(-p, 4*(b*log(c*sqrt(x)) + a)/b)/b

Giac [F]

\[ \int \frac {\left (a+b \log \left (c \sqrt {x}\right )\right )^p}{x^3} \, dx=\int { \frac {{\left (b \log \left (c \sqrt {x}\right ) + a\right )}^{p}}{x^{3}} \,d x } \]

[In]

integrate((a+b*log(c*x^(1/2)))^p/x^3,x, algorithm="giac")

[Out]

integrate((b*log(c*sqrt(x)) + a)^p/x^3, x)

Mupad [F(-1)]

Timed out. \[ \int \frac {\left (a+b \log \left (c \sqrt {x}\right )\right )^p}{x^3} \, dx=\int \frac {{\left (a+b\,\ln \left (c\,\sqrt {x}\right )\right )}^p}{x^3} \,d x \]

[In]

int((a + b*log(c*x^(1/2)))^p/x^3,x)

[Out]

int((a + b*log(c*x^(1/2)))^p/x^3, x)